package br.com.jk.valealim.cartaotipo;

import java.io.InputStream;
import java.sql.SQLException;
import br.com.jk.util.ReportUtil;
import net.sf.jasperreports.engine.JRException;

/**
 *
 * @author camilo
 */
public class CartaoTipoReport {

  private InputStream relatorio1 = getClass().getResourceAsStream("matriz.jasper");

  public void geraRelatorio1() throws JRException, SQLException, ClassNotFoundException {
    ReportUtil.getReport(this.relatorio1, "Empresas Matriz - Ccontroller");
  }

  public InputStream getRelatorio1() {
    return relatorio1;
  }

  public void setRelatorio1(InputStream relatorio1) {
    this.relatorio1 = relatorio1;
  }
}
